package com.pozu.new_retail.dao.model;

import java.io.Serializable;

/**
 * 浏览过名片的用户、操作记录
 * {
 * "id": 11989,
 * "staffId": 164,
 * "userId": 8057,
 * "avatarUrl": "https://wx.qlogo.cn/mmopen/vi_32/7Whiao092jurl5VuYmC6zxticnGyTpeOf4ErviaFJ6KAicHMzdcICKSfEyh2ZKXOehm7VUeo9ALmhJylo3ticeZhyAQ/132"
 * }
 * type 1:访问名片记录 2:点赞名片记录 3:同意某标签记录名片
 *
 * @author shenxueyuan
 * @Date 2019/3/14
 */
public class CardTraceItem implements Serializable {

    // 1 访问名片
    public static final int TYPE_TRACE = 1;
    // 2 点赞名片
    public static final int TYPE_LIKE = 2;
    // 3 标签同意
    public static final int TYPE_AGREE_TAG = 3;

    private int id;
    /**
     * 企业、小程序id
     */
    private int appId;
    /**
     * 工作人员id
     */
    private int staffId;
    /**
     * 用户id
     */
    private long userId;
    /**
     * 用户头像
     */
    private String avatarUrl;
    /**
     * 1:访问名片 2:点赞名片 3:同意某标签
     */
    private int type;
    /**
     * 标签id
     */
    private int tagId;
    /**
     * 用户浏览时间
     */
    private long createTime;

    private int state ;


    public int getAppId() {
        return appId;
    }

    public void setAppId(int appId) {
        this.appId = appId;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getId() {
        return id;
    }

    public void setStaffId(int staffId) {
        this.staffId = staffId;
    }

    public int getStaffId() {
        return staffId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getUserId() {
        return userId;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getTagId() {
        return tagId;
    }

    public void setTagId(int tagId) {
        this.tagId = tagId;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}